project (emu)

add_executable(emu emu.cc)

#add_custom_command(
#	TARGET emu POST_BUILD
#	COMMAND upx emu 
#)

install(FILES ${CMAKE_CURRENT_BINARY_DIR}/emu
	DESTINATION bin
       	PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ
		    GROUP_EXECUTE GROUP_READ
		    WORLD_EXECUTE WORLD_READ)
